function [index] = ST_FindTargetId(targetList, id)
%ST_FindTargetId Summary of this function goes here
% Detailed explanation goes here
index = 0;
for i = 1:size(targetList, 2)
  if targetList(i) == id
    index = i;
    return;
  end
end
end